projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d51e292
)
Fix an obviously inverted check in offline_page()
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 9 Sep 2009 15:32:25 +0000
(16:32 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 9 Sep 2009 15:32:25 +0000
(16:32 +0100)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/common/page_alloc.c
patch
|
blob
|
history
diff --git
a/xen/common/page_alloc.c
b/xen/common/page_alloc.c
index 29e10759a34caa0faf0bac428c4536348195284e..395732dee5a99931af9b9893b07f149c0bde0c9e 100644
(file)
--- a/
xen/common/page_alloc.c
+++ b/
xen/common/page_alloc.c
@@
-610,7
+610,7
@@
int offline_page(unsigned long mfn, int broken, uint32_t *status)
int ret = 0;
struct page_info *pg;
- if ( mfn_valid(mfn) )
+ if (
!
mfn_valid(mfn) )
{
dprintk(XENLOG_WARNING,
"try to offline page out of range %lx\n", mfn);